package cn.klaw.flowable.model.trigger;

import cn.klaw.flowable.entity.TriggerRecordEntity;
import cn.klaw.flowable.model.templatejson.TemplateJsonInfoVO;
import cn.klaw.flowable.model.templatenode.ButtonModel;
import cn.klaw.flowable.model.templatenode.TaskNodeModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 类的描述
 *
 *
 * @version 5.0.x
 * @since 2024/9/21 10:35
 */
@Data
public class TriggerInfoModel {
    @Schema(description = "流程详情")
    private TemplateJsonInfoVO flowInfo;
    @Schema(description = "流转记录")
    private List<TriggerRecordEntity> recordList = new ArrayList<>();
    @Schema(description = "节点")
    private List<TaskNodeModel> nodeList = new ArrayList<>();
    @Schema(description = "按钮控制")
    private ButtonModel btnInfo = new ButtonModel();
    @Schema(description = "任务信息")
    private TriggerTaskModel taskInfo;
}
